#include <iostream>
#include <functional>

#include "Sever.hpp"
#include "Command.hpp"

int main()
{
    Scream();
    uint16_t port = 8888;

    Command cmd;
    command_serve_t serve = std::bind(&Command::Service, &cmd, std::placeholders::_1, std::placeholders::_2);
    Sever sever(serve, port);

    sever.Init();
    sever.Loop();

    return 0;
}